

<header>
    <div class="learingHeader">
        <nav class="navbar">
            <div class="">
                <div class="logo">
                    <img src="${base}/img/logo.png" width="100%" alt=""></div>
                <div class="nav-list">
                    <ul class="nav navbar-nav">
                        <li id="index"><a href="${base}">首页</a></li>
                        <li id="courses"><a href="${base}/course/list">课程</a></li>
                        <li></li>
                    </ul>
                </div>

                <div class="sign-in">
                <#if Session["user"]?exists><!--已登陆-->
                    <a href="${base}/users/i/${Session["user"].id}" class="personal" id="personal">
                        个人中心
                        <span class="personalIco"></span>
                    </a>
                    <a href="#" class="myInfo">
                        <img src=" ${Session["user"].head}" alt="">  ${Session["user"].nickname}
                    </a>
                <#else ><!--未登录-->
                    您好，请<a class="btn-link" href="${base}/users/login">登录 </a>
                </#if>

                </div>
                <div class="starch" id="search">
                    <input type="text" class="input-search" placeholder="输入查询关键词" v-model="key">
                    <input type="button" class="button" @click="search()"
                           style="background: #00a4ff;border: none;color: #fff" value="查询">
                </div>
            </div>
        </nav>
    </div>
</header>
<script>

</script>